package edu.tgc.repository.system;

import java.util.List;
import java.util.UUID;

import org.abyss.common.repository.CommonRepository;
import org.springframework.stereotype.Repository;

import edu.tgc.entity.hrm.IdCade;
import edu.tgc.entity.system.SysUser;

@Repository
public interface SysUserRepository extends CommonRepository<SysUser, UUID> {

    public List<SysUser> findByDeptId(UUID id);

    public SysUser findById(UUID id);

    public List<SysUser> findByIdIn(List<UUID> ids);

    public SysUser findByUsername(String username);

	public SysUser findByCade(IdCade idCade);
}
